package com.xinqi.modules.chat.chat.chat.convert;

import com.xinqi.common.mapstruct.CommonConvertConfig;
import com.xinqi.modules.chat.chat.chat.domain.ChatNoticeEntity;
import com.xinqi.modules.chat.chat.chat.dto.req.ChatNoticeCreateDTO;
import com.xinqi.modules.chat.chat.chat.dto.rsp.ChatNoticeResultDTO;
import org.mapstruct.Mapper;

/**
 * 群公告记录表转换
 *
 * @author: system
 * @date: 2023/01/12
 */
@Mapper(config = CommonConvertConfig.class)
public abstract class ChatNoticeConvert {
    public abstract ChatNoticeEntity create(ChatNoticeCreateDTO s);

    public abstract ChatNoticeResultDTO convert(ChatNoticeEntity s);
}
